package com.example.demo.entity;

import org.springframework.lang.UsesSunMisc;

public class Student {
    private int sId;
    private String sName;
    private int sNum;
    private  int className;
    private  String academy;


    public int getsId() {
        return sId;
    }

    public void setsId(int sId) {
        this.sId = sId;
    }

    public String getsName() {
        return sName;
    }

    public void setsName(String sName) {
        this.sName = sName;
    }

    public int getsNum() {
        return sNum;
    }

    public void setsNum(int sNum) {
        this.sNum = sNum;
    }

    public int getClassName() {
        return className;
    }

    public void setClassName(int className) {
        this.className = className;
    }

    public String getAcademy() {
        return academy;
    }

    public void setAcademy(String academy) {
        this.academy = academy;
    }

    @Override
    public String toString() {
        return "Student{" + "sId='" + sId + '\'' +
                ", sName='" + sName + '\'' +
                ", sNum=" + sNum + '\'' +
                ", className='" +className+'\'' +
                ", academy='" +academy+'\'' +
                '}';
    }
}
